/*
 *MIT License
 *Copyright (c) 2021 fullset
 *@ClassName SysRoleDao
 *@date 2021/7/10 10:07
 *@author: pangps
 *@Description TODO
 */
package com.fs.orm.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fs.orm.entity.SysRole;

import java.util.List;

public interface SysRoleDao extends IService<SysRole> {

    boolean addRole(SysRole sysRole);

    boolean logicalDeleteById(String id);

    boolean batchDel(String ids);

    SysRole editRole(SysRole sysRole);

    SysRole selectOne(QueryWrapper qWrapper);

    List<SysRole> getList(QueryWrapper qWrapper);
}
